<!-- forms -->
				<div class="box">
					<!-- box / title -->
					<div class="title">
						<h5>Ghóp ý</h5>
					</div>
					<!-- end box / title -->
					<form id="form" action="<?php echo base_url();?>admin/xuly/gopy/list/<?php echo $this->uri->segment(5,0);?>" method="post">
					<div class="form">
						<div class="fields">
						
							<div class="field">
								<div class="label">
									<label for="input-medium">Tên:</label>
								</div>
								<div class="input">
									<input type="text" name="ten" class="medium" value="<?php if(!empty($data)){echo $data->ten;} ?>" />
								</div>
                                    <?php echo form_error('ten', '<div class="error">', '</div>'); ?>
							</div>
                                                        
                            <div class="field">
								<div class="label">
									<label for="input-medium">Email:</label>
								</div>
								<div class="input">
									<input type="text" name="email" class="medium" value="<?php if(!empty($data)){echo $data->email;} ?>" />
								</div>
                                <?php echo form_error('email', '<div class="error">', '</div>'); ?>
							</div> 
                            
                            <div class="field">
								<div class="label">
									<label for="input-medium">Điện thoại:</label>
								</div>
								<div class="input">
									<input type="text" name="dienthoai" class="medium" value="<?php if(!empty($data)){echo $data->dienthoai;} ?>" />
								</div>
                                <?php echo form_error('dienthoai', '<div class="error">', '</div>'); ?>
							</div>  
                            
                            <div class="field">
								<div class="label">
									<label for="input-medium">Tiêu đề:</label>
								</div>
								<div class="input">
									<input type="text" name="tieude" class="medium" value="<?php if(!empty($data)){echo $data->tieude;} ?>" />
								</div>
                                <?php echo form_error('tieude', '<div class="error">', '</div>'); ?>
							</div>    
                        
                            
                            <div class="field">
									<div class="label label-textarea">
										<label for="textarea">Nội dung:</label>
									</div>
									<div class="textarea" style="width: 100% !important;">
										<textarea id="soanthao" name="noidung" cols="61" rows="5"> <?php if(!empty($data)){echo $data->noidung;} ?></textarea>
									</div>
							</div>                        
                            
                            <div class="field">
								<div class="label">
									<label for="input-medium">Ip</label>
								</div>
								<div class="input">
									<input type="text" name="ip" class="medium" value="<?php if(!empty($data)){echo $data->ip;} ?>" />
								</div>
                                    <?php echo form_error('ip', '<div class="error">', '</div>'); ?>
							</div>
                            
                            <div class="field">
								<div class="label">
									<label for="input-medium">Ngày Gửi</label>
								</div>
								<div class="input">
									<input type="text" name="created" class="medium" value="<?php if(!empty($data)){echo $data->created;} ?>" />
								</div>
                                    <?php echo form_error('created', '<div class="error">', '</div>'); ?>
							</div>
                            
							<div class="field">
								<div class="label">
									<label for="select">Hiện/Ẩn:</label>
								</div>
								<div class="select">
									<select id="select" name="publish">
										<option <?php if(!empty($data)){if($data->publish==1){echo 'selected="selected"';}}?> value="1">Hiện</option>
										<option <?php if(!empty($data)){if($data->publish==0){echo 'selected="selected"';}}?> value="0">Ẩn</option>									
									</select>
								</div>
							</div>
						
							<div class="buttons">
								<input type="submit" value="Thêm" />
								<input type="reset" value="Nhập lại" />
								
							</div>
						</div>
					</div>
					</form>
				</div>
				<!-- end forms -->
               